package com.example.demo.leetcode.zuocheng.graph;

/**
 * 图形中 边 数据结构
 * @author xujm
 * @version V2.4
 * @since 2.4.0 2021/7/3 17:44
 */
public class Edge {

    public int weight;
    public Node from;
    public Node to;

    public Edge(int weight,Node from,Node to){
        this.weight = weight;
        this.from = from;
        this.to = to;
    }



}
